package com.example.prom.ok.y2022.enums;

import lombok.Getter;

@Getter
public enum ResponseErrorCodeEnum {

    SUCCESS(0, "成功"),
    INTERNAL_OTHER_EXCEPTION(998, "其他异常"),
    THIRD_RETURN_ERROR(999, "第三方返回错误信息"),

    ;
    private Integer code;
    private String msg;

    ResponseErrorCodeEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
